/*
 * Spring 2012 TCSS360 Deliverable 3
 * Otis Alexander
 */

package gui;

import java.awt.Component;

import javax.swing.JPanel;
import javax.swing.JTable;
import javax.swing.table.TableCellRenderer;

public class CellRenderer extends JPanel implements
		TableCellRenderer {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public Component getTableCellRendererComponent(
			JTable table, Object obj, boolean isSelected,
			boolean hasFocus, int row, int column) {
		if (obj instanceof JPanel) {
			return (JPanel) obj;
		}
		return null;
	}

}
